Skip to content

Conversation

@shethaadit
Copy link
Contributor

@shethaadit shethaadit commented Nov 20, 2024

Summary

Motivation and Context

This PR addresses outdated information in the Copy and Update Record Expressions article. It incorporates details from the F# announcement regarding the new feature for nested record field copy-and-update.

The addition of this feature greatly simplifies working with nested records, reducing verbosity and enhancing code readability. Including this in the documentation ensures users are informed about the latest capabilities in F#.

The existing article lacks information on the nested record field copy-and-update feature. This enhancement ensures users can fully leverage F#'s latest functionality.

Description

  • Added a new section to highlight the nested record field copy-and-update feature with before-and-after examples for clarity.
  • Provided usage examples for both regular and anonymous records.
  • Updated the syntax and example sections to align with the new feature.
  • Linked related documentation for easy navigation.

Fixes #43608


Internal previews

📄 File 🔗 Preview link
docs/fsharp/language-reference/copy-and-update-record-expressions.md Copy and Update Record Expressions

@dotnetrepoman dotnetrepoman bot added this to the November 2024 milestone Nov 20, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates PR is created by someone from the .NET community. label Nov 20, 2024
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @shethaadit

I'll :shipit: now.

@BillWagner BillWagner enabled auto-merge (squash) November 20, 2024 15:34
@BillWagner BillWagner merged commit cb06142 into dotnet:main Nov 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community. dotnet-fsharp/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

This article should include the updated nested field copy and replace

3 participants